package com.demo.base.rabbitmq.constant;

/**
 * @author 曳戈泰尔
 * @version 1.0
 * @description RabbitMQ常量类
 * @date 2023/3/10 5:03 PM
 */
public class MqConstant {

    // 延时交换机
    public static final String DELAY_EXCHANGE = "delay_exchange";

    // 延时队列
    public static final String DELAY_QUEUE = "delay_queue";

    // 延时交换机路由键
    public static final String DELAY_ROUTING_KEY = "delay_routing_key";

    /** 单位：ms */
    public static final Integer DELAY_TIME_MS = 200;

    // 普通交换机
    public static final String REAL_TIME_EXCHANGE = "real_time_exchange";

    // 普通队列
    public static final String REAL_TIME_QUEUE = "real_time_queue";

    // 普通交换机路由键
    public static final String REAL_TIME_ROUTING_KEY = "real_time_routing_key";
}
